<?php defined("_JEXEC") or die("Restricted access");

jimport('joomla.application.component.view');

class JoomlaIniTranslatorViewRun extends JView
{
	function display($tpl = null) {
		JToolBarHelper::title(JText::_("Translator Processing"));
		JToolBarHelper::cancel();
			
		if (!($translatorInfo =& $this->get("Translator"))) {
			$url = 'index.php?option=com_joomlainitranslator';
			$msg = JText::_('Error Run Translator');
			$this->setRedirect($url, $msg, 'error');
		}
		//echo "<pre>"; var_dump($translatorInfo); die;
		
		$this->assignRef('translatorInfo', $translatorInfo);
		
		parent::display($tpl);
	}
}